package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dynamic_reply_info
 *
 * @author ruoyi
 * @date 2021-08-18
 */
public class DynamicReplyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 动态id */
    @Excel(name = "动态id")
    private Long dynamicId;

    /** 动态发布人id */
    @Excel(name = "动态发布人id")
    private Long publishUserId;

    /** 发布人名称 */
    @Excel(name = "发布人名称")
    private String publishUserName;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 回复人id */
    @Excel(name = "回复人id")
    private Long replyUserId;

    /** 回复人名称 */
    @Excel(name = "回复人名称")
    private String replyUserName;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 分组id */
    @Excel(name = "分组id")
    private Long groupId;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    /** 回复给...(id) */
    @Excel(name = "回复给...(id)")
    private Long toUserId;

    /** 回复给...(名称) */
    @Excel(name = "回复给...(名称)")
    private String toUserName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDynamicId(Long dynamicId)
    {
        this.dynamicId = dynamicId;
    }

    public Long getDynamicId()
    {
        return dynamicId;
    }
    public void setPublishUserId(Long publishUserId)
    {
        this.publishUserId = publishUserId;
    }

    public Long getPublishUserId()
    {
        return publishUserId;
    }
    public void setPublishUserName(String publishUserName)
    {
        this.publishUserName = publishUserName;
    }

    public String getPublishUserName()
    {
        return publishUserName;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setReplyUserId(Long replyUserId)
    {
        this.replyUserId = replyUserId;
    }

    public Long getReplyUserId()
    {
        return replyUserId;
    }
    public void setReplyUserName(String replyUserName)
    {
        this.replyUserName = replyUserName;
    }

    public String getReplyUserName()
    {
        return replyUserName;
    }
    public void setReplyTime(Date replyTime)
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime()
    {
        return replyTime;
    }
    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setToUserId(Long toUserId)
    {
        this.toUserId = toUserId;
    }

    public Long getToUserId()
    {
        return toUserId;
    }
    public void setToUserName(String toUserName)
    {
        this.toUserName = toUserName;
    }

    public String getToUserName()
    {
        return toUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("dynamicId", getDynamicId())
                .append("publishUserId", getPublishUserId())
                .append("publishUserName", getPublishUserName())
                .append("content", getContent())
                .append("replyUserId", getReplyUserId())
                .append("replyUserName", getReplyUserName())
                .append("replyTime", getReplyTime())
                .append("groupId", getGroupId())
                .append("parentId", getParentId())
                .append("toUserId", getToUserId())
                .append("toUserName", getToUserName())
                .toString();
    }
}